package com.ruoyi.bus.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 车辆对象 wit_bus
 * 
 * @author caiyanshan
 * @date 2021-04-14
 */
public class WitBus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long busId;

    /** 司机ID */

    //@Excel(name = "司机ID")
    private Long userId;

    @Excel(name = "司机")
    private String userName;

    @Excel(name = "手机号")
    private String phonenumber;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String busNumber;

    /** 车辆颜色 */
    @Excel(name = "车辆颜色")
    private String busColor;

    /** 车辆型号 */
    @Excel(name = "车辆型号")
    private String busModel;

    @Excel(name = "满载人数")
    private Integer fullLoad;//满载人数

    @Excel(name = "所属路线")
    private String routeName;//路线名称

    /** 车辆描述 */
    //@Excel(name = "车辆描述")
    private String busInfo;

    @Excel(name = "车辆状态")
    private String busStatusName;

    /** 车辆状态 */
    private Integer busStatus;

    private Long routeId;//路线ID

    public String getBusStatusName() {
        return busStatusName;
    }

    public void setBusStatusName(String busStatusName) {
        this.busStatusName = busStatusName;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public Long getRouteId() {
        return routeId;
    }

    public void setRouteId(Long routeId) {
        this.routeId = routeId;
    }

    public String getRouteName() {
        return routeName;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    private List<WitAppoint> witAppointList = new ArrayList<WitAppoint>();//本车预约数量

    private List<WitPlan> planList;//计划列表

    public List<WitPlan> getPlanList() {
        return planList;
    }

    public void setPlanList(List<WitPlan> planList) {
        this.planList = planList;
    }

    public List<WitAppoint> getWitAppointList() {
        return witAppointList;
    }

    public void setWitAppointList(List<WitAppoint> witAppointList) {
        this.witAppointList = witAppointList;
    }

    public Integer getFullLoad() {
        return fullLoad;
    }
    
    public void setFullLoad(Integer fullLoad) {
        this.fullLoad = fullLoad;
    }
    
    public void setBusId(Long busId)
    {
        this.busId = busId;
    }

    public Long getBusId() 
    {
        return busId;
    }
    public void setBusNumber(String busNumber) 
    {
        this.busNumber = busNumber;
    }

    public String getBusNumber() 
    {
        return busNumber;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBusColor(String busColor) 
    {
        this.busColor = busColor;
    }

    public String getBusColor() 
    {
        return busColor;
    }
    public void setBusInfo(String busInfo) 
    {
        this.busInfo = busInfo;
    }

    public String getBusInfo() 
    {
        return busInfo;
    }
    public void setBusModel(String busModel) 
    {
        this.busModel = busModel;
    }

    public String getBusModel() 
    {
        return busModel;
    }
    public void setBusStatus(Integer busStatus) 
    {
        this.busStatus = busStatus;
    }

    public Integer getBusStatus() 
    {
        return busStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("busId", getBusId())
            .append("busNumber", getBusNumber())
            .append("userId", getUserId())
            .append("busColor", getBusColor())
            .append("busInfo", getBusInfo())
            .append("busModel", getBusModel())
            .append("busStatus", getBusStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
